home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 792 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.2 KB

  1. From: Joseph Heled <joseph@itginc.com>
  2. Message-ID: <314F2C64.167EB0E7@itginc.com>
  3. X-Original-Date: Tue, 19 Mar 1996 13:51:32 -0800
  4. Path: in1.uu.net!bounce-back
  5. Date: 20 Mar 96 04:46:06 GMT
  6. Approved: fjh@cs.mu.oz.au
  7. Newsgroups: comp.std.c++
  8. Organization: ITG inc
  9. X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3 sun4m)
  10. Cc: joseph@itginc.com
  11. Subject: type_info::name
  12. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  13.     iQBFAgUBMU+Ns+EDnX0m9pzZAQHBjQGAjTkOL2wUgKI7XsNyGU1BB9O+BCLcBGtD
  14.     WlEfx8SvcF7S+h5BdDcumMqwo4ezKqNL
  15.     =P00z
  16.  
  17. Can someone comment if the standard will say more about
  18. type_info::name(), specifically,
  19.  
  20.  0. for all T, typeid(T).name() != 0
  21.  
  22.  1. T1 != T2  ==> ! strcmp(typeid(T1).name, typeid(T2).name())
  23.  
  24.  2. strcmp(typeid(int()).name(), "int") == 0
  25.        (etc for all builtin types)
  26.  
  27. -pepe
  28. ---
  29. [ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
  30. [ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
  31. [ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
  32. [ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
  33. [ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
  34.